package com.example.mybatis.mapper;

import com.example.mybatis.entity.OrderUser;
import com.example.mybatis.entity.Orders;

import java.util.List;

public interface OrdersMapper {

    List<Orders> queryOrderAll();

    /**
     * @return
     * @Title: queryOrderUser
     * @Description: TODO(一对一关联 ， 查询订单同时包含用户信息)
     */
    List<OrderUser> queryOrderUser();

    List<Orders> queryOrderUserResultMap();
}
